<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('新增问题')"/>
    <th:block th:include="include :: summernote-css"/>
</head>
<body>
<div class="main-content">
    <form id="form-user-add" class="form-horizontal">
        <div class="row">
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-4 control-label"><span style="color: red; ">*</span>问题序号：</label>
                    <div class="col-sm-8">
                        <input name="xh" placeholder="请输入问题序号" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-4 control-label"><span style="color: red; ">*</span>模块名称：</label>
                    <div class="col-sm-8">
                        <div class="input-group">
                            <!--<input name="mkmc" type="text" placeholder="请选择模块名称" class="form-control">-->
                            <div class="input-group" style="width: 100%">
                                <select name="mkmc" class="form-control m-b">
                                    <option th:each="sysmcs : ${sysmcs}" th:value="${sysmcs.mkid} "
                                            th:text="${sysmcs.mkmc}"></option>
                                </select>
                            </div>


                            <span class="input-group-addon"><i class="fa fa-search"></i></span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-4 control-label"><span style="color: red; ">*</span>问题名称：</label>
                    <div class="col-sm-8">
                        <input name="went" placeholder="请输入问题名称" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-4 control-label"><span style="color: red; ">*</span>问题原因：</label>
                    <div class="col-sm-8">
                        <input name="yuany" class="form-control" type="text" placeholder="请输入问题原因">
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-4 control-label"><span style="color: red; ">*</span>备注：</label>
                    <div class="col-sm-8">
                        <input name="beiz" placeholder="请输入备注" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-4 control-label"><span style="color: red; ">*</span>关键字：</label>
                    <div class="col-sm-8">
                        <input name="guanjz" placeholder="请输入关键字" class="form-control" type="text">
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-4 control-label">是否热点：</label>
                    <div class="col-sm-8">
                        <label class="toggle-switch switch-solid">
                            <input type="checkbox" id="isRd" checked>
                            <span></span>
                        </label>
                    </div>
                </div>
            </div>
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-4 control-label">是否技术：</label>
                    <div class="col-sm-8">
                        <label class="toggle-switch switch-solid">
                            <input type="checkbox" id="isJs" checked>
                            <span></span>
                        </label>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12">
                <div class="form-group">
                    <label class="col-sm-2 control-label">是否技术</label>
                    <div class="col-sm-10">
                        <!--<div class="ibox float-e-margins">-->
                            <!--<div class="ibox-title">-->
                            <!--<h5>Summernote 富文本编辑器</h5>-->
                            <!--</div>-->
                            <div class="ibox-content no-padding">
                                <div class="summernote">
                                </div>
                            </div>
                        <!--</div>-->
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer"/>
<th:block th:include="include :: summernote-js"/>
<script>
    $(document).ready(function () {
        $('.summernote').summernote({
            lang: 'zh-CN'
        });
    });
</script>
</body>
</html>
